package com.pan.crawler.impl2;

import com.pan.crawler.Search;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.edge.EdgeDriver;

import java.time.Duration;

public class SearchImpl2 implements Search {

    private final String searchUrl = "https://www.81zw.com/";

    private EdgeDriver edgeDriver;

    public SearchImpl2(){
//        edgeDriver = new EdgeDriver();
//        edgeDriver.get(searchUrl);
        throw new RuntimeException("www.81zw.com 网站挂了");
    }

    @Override
    public void find(String content) {
    }

    @Override
    public void close() {

    }


    public static void main(String[] args) {
        new SearchImpl2();
    }
}
